<template>
  <view>
    <button @tap="back">back to index</button>
  </view>
</template>

<script lang="ts" setup>
const back = () => {
  uni.navigateBack({ delta: 1 });
};
</script>
